package com.test.clyq.entity;

import com.test.entity.Item;
import com.test.json.JsonUtil;

/**
 * 评价类别. <br>
 * 用于评价分类.
 * <p>
 * Copyright: Copyright (c) Jun 1, 2011 3:08:40 AM
 * <p>
 * Company: 北京宽连十方数字技术有限公司
 * <p>
 * Author: liuxl@c-platform.com
 * <p>
 * Version: 1.0
 * <p>
 */
public class QuestionCategory implements Item {

	/** serialVersionUID */
	private static final long serialVersionUID = 1L;

	/** 类别排序 */
	private Integer corder;

	/** 标示ID */
	private Long id;

	/** 级别 */
	private Long level = 0l;

	/** 类别名称 */
	private String name;

	public Integer getCorder() {
		return corder;
	}

	public Long getId() {
		return id;
	}

	public Long getLevel() {
		return level;
	}

	public String getName() {
		return name;
	}

	public void setCorder(Integer corder) {
		this.corder = corder;
	}

	public void setId(Long id) {
		this.id = id;

	}

	public void setLevel(Long level) {
		this.level = level;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String toJSON() {
		return JsonUtil.getJsonStringFromObject(this);
	}

	public String toXML() {
		return null;
	}

}
